﻿using SqlSugar;
using System;

namespace NetCore.Model.Enity
{
    /// <summary>
    /// 设备信息表
    ///</summary>
    [SugarTable("sys_equipmentinfo")]
    public class SysEquipmentinfo
    {
        /// <summary>
        /// 主键
        ///</summary>
        [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// 设备名称
        ///</summary>
        [SugarColumn(ColumnName = "name")]
        public string Name { get; set; }

        /// <summary>
        /// 设备类型id
        ///</summary>
        [SugarColumn(ColumnName = "equipmenttypeid")]
        public int Equipmenttypeid { get; set; }

        /// <summary>
        /// 设备编号
        ///</summary>
        [SugarColumn(ColumnName = "number")]
        public string Number { get; set; }

        /// <summary>
        /// 添加时间
        ///</summary>
        [SugarColumn(ColumnName = "CreateDate")]
        public DateTime CreateDate { get; set; }
    }
}